Yoast\WP\Duplicate_Post\Post_Republisher S

Total Complexity 46
Dependencies 4
Dependents 1
Total lines 421
Lines of code 175
Logical lines of code 90
Comment lines 185
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
republish_request()
S
58 6 17
change_post_copy_status()
S
60 6 13
clean_up_after_redirect()
S
59 5 13
republish_scheduled_post()
S
59 4 14
is_classic_editor_post_request()
S
70 3 6
determine_post_status()
S
67 3 9
register_hooks()
S
60 2 12
republish_post_elements()
S
61 2 11
delete_copy()
S
68 2 7
clean_up_when_copy_manually_deleted()
S
66 2 8
is_rest_request()
S
79 2 3
republish_after_post_request()
S
72 2 6
redirect()
S
61 1 13
republish()
S
66 1 8
republish_after_rest_api_request()
S
81 1 3
republish_post_taxonomies()
S
65 1 9
republish_post_meta()
S
64 1 10
register_post_statuses()
S
65 1 9
__construct()
S
77 1 4